//
//  ZLCalenderCell.m
//  项目三
//
//  Created by rimi on 15/10/15.
//  Copyright (c) 2015年 rimi. All rights reserved.
//

#import "ZLCalenderCell.h"

@implementation ZLCalenderCell

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
//        self.backgroundColor = COLOR(242, 227, 183, 1);
        [self addSubview:self.day];
    }
    return self;
}

- (UILabel *)day {
    if (!_day) {
        _day = [UILabel new];
        _day.frame = self.contentView.bounds;
        _day.backgroundColor = COLOR(242, 227, 183, 1);
        _day.textAlignment = NSTextAlignmentCenter;
    }
    return _day;
}
@end
